const DB = require("../config/Sequelize");
const BackCode = require("../utils/BackCode");

const TeacherService = {
    list: async (phone, code) => {
        const data = await DB.Teacher.findAll({raw:true})
        return BackCode.buildSuccessAndData({ data });
    },

};
module.exports = TeacherService;
